<template>
    <span :type="type" :class="type">
        <slot></slot>
    </span>
</template>
<script>
    export default {
        props: {
            type: {
                type: String,
                default: "primary"
            }
        },
        data() {
            return {}
        },
        methods: {
            click(v) {
                this.$emit('click', v)
            }
        }
    }
</script>
<style scoped>
    .primary {
        color: #409EFF;
        cursor: pointer;
    }
</style>